#!/usr/bin/env python3
# -*- coding: utf-8 -*-

__author__ = 'Buynow'

# 联系人
class linkman:
    def __init__(self, name, phone, address):
        self.name = name
        self.phone = phone
        self.address = address

    def __init__(self):
        self.name = None
        self.phone = None
        self.address = None

    def __eq__(self, other):
        if type(other) != linkman:
            return False
        if self.name == other.name & self.phone == self.phone:
            return True

    def __str__(self) -> str:
        return self.name+' '+self.phone+' '+self.address

